package com.wonghiu.framework.cluster.directory;

import com.wonghiu.framework.config.HRpcServiceConfig;

/**
 * @Author wonghiu
 * @Date 2021/8/10 20:39
 * @Version 1.0.1
 */
public interface ProviderDirectory {

    void addService(HRpcServiceConfig rpcServiceConfig);

    Object getService(String rpcServiceName);

    void publishService(HRpcServiceConfig rpcServiceConfig);

}
